#!/bin/zsh
cd ~/rosbag
source ~/.zshrc
source /opt/ros/melodic/setup.zsh
source ~/catkin_ws/devel/setup.zsh
rosbag record -o uav$SWARM_ID -e  "(.*)mavros(.*)" "(.*)nlink_linktrack(.*)" "(.*)servo_angle(.*)" "(.*)detected_aruco(.*)" "(.*)uwb(.*)"
exit 0